package sia.tp1.operator;

import java.util.List;

public class And extends Operator{

	@Override
	public String toString() {
		return "AND";
	}
	
	@Override
	public boolean eval(List<Boolean> input, boolean leftTree, boolean rightTree) {
		return leftTree && rightTree;
	}
}
